div {
    margin: auto;
    text-align: center;
    background-color: beige;
}

table,
tr,
td,
th {
    border: 1px solid;
    border-collapse: collapse;
    margin: auto;
    text-align: center;
}